<template>
  <div id="content">
    <cart-content-item 
        v-for="(item, index) in cartList" 
        :key="index" :item="item" 
        ref="content-item"/>
  </div>
</template>

<script>
  import CartContentItem from "./CartContentItem";
  import {mapGetters} from 'vuex'

  export default {
    name: "CartContent",
    components:{
      CartContentItem,
    },
    computed:{
      ...mapGetters(['cartList']),
    },



  }
</script>

<style scoped>
  #content{
  }
</style>